package com.wander.business.book.c2_2_2;

import com.wander.business.book.c2_2_2.config.BookConfig_c2_2_2;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author Wander.Zeng
 * @create 2017-08-13 09:49
 * @desc BookMani
 */
public class BookMani {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(BookConfig_c2_2_2.class);

        BookConfig_c2_2_2 config = context.getBean(BookConfig_c2_2_2.class);
        config.outputResource();

        context.close();
    }

}
